package com.example.orderminiappapi.service;

import com.example.orderminiappapi.bean.AddOrUpdate;
import com.example.orderminiappapi.bean.User;

import java.util.List;

public interface UserAddressService {
    List<String> findAllUsersAddress(User user);

    int addAddress(AddOrUpdate addOrUpdate);

    int updateAddress(AddOrUpdate addOrUpdate);

    int deleteAddress(AddOrUpdate addOrUpdate);

    int changeCommonAddress1(AddOrUpdate addOrUpdate);

    int changeCommonAddress2(AddOrUpdate addOrUpdate);
}
